
<html lang="en">
<head>
    <title>权限管理</title>
    <#include "../common/header.ftl">


</head>
<body>
<!--左侧菜单回显变量设置-->
<#assign currentMenu = permission>
<div class="container " style="margin-top: 20px">
    <#include "../common/top.ftl">
    <div class="row">
        <div class="col-sm-2">
            <#include "../common/menu.ftl">
        </div>
        <div class="col-sm-10">
            <div class="row">
                <div class="col-sm-12">
                    <h1 class="page-head-line">权限编辑</h1>
                </div>
            </div>
            <div class="row col-sm-10">
                <form class="form-horizontal" action="/permission/saveOrUpdate" method="post" id="editForm">
                    <input type="hidden" value="${(entity.id)!}" name="id">
                    <div class="form-group" >
                        <label class="col-sm-2 control-label">权限名称：</label>
                        <div class="col-sm-6">
                        <input type="text" class="form-control" name="name" value="${(entity.name)!}" placeholder="请输入权限名称">
                        </div>
                    </div>
                    <div class="form-group" >
                        <label class="col-sm-2 control-label">权限编号：</label>
                        <div class="col-sm-6">
                        <input type="text" class="form-control" name="sn" value="${(entity.name)!}" placeholder="请输入权限编号">
                        </div>
                    </div>


                    <div class="form-group">
                        <div class="col-sm-offset-1 col-sm-6">
                            <button id="btn_submit" type="submit" class="btn btn-default">保存</button>
                            <button type="reset" class="btn btn-default">重置</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>